// 导入二次封装axios
import koi from "@/utils/axios.ts";

export const listPage = (params: any) => koi.get("/admin/freight/express/list", params);
export const read = (id: any) => koi.get("/admin/freight/express/read", {id});
export const add = (params: any) => koi.post("/admin/freight/express/add", params);
export const update = (params: any) => koi.post("/admin/freight/express/update", params);
export const changeStatus = (id: any, status: any) => koi.post("/admin/freight/express/changeStatus", { id, status });
export const getAllExpress = () => koi.post("/admin/freight/express/getAllExpress");
